package com.hsu.mapper;

import com.hsu.model.ProductInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @ClassName: ProductMapper
 * @author Hsu琛君珩
 * @date 2024-07-31
 * @apiNote
 * @Version: v1.0
 */
@Mapper
public interface ProductMapper {

    @Select("SELECT * FROM product_detail WHERE id = #{id}")
    ProductInfo selectProductById(Integer id);
}
